Building Trust into OO Components Using a Genetic Analogy
نویسندگان
چکیده
Despite the growing interest for component-based systems, few works tackle the question of the trust we can bring into a component. This paper presents a method and a tool for building trustable OO components. It is particularly adapted to a design-by-contract approach, where the specification is systematically derived into executable assertions (invariant properties, pre/postconditions of methods). A component is seen as an organic set composed of a specification, a given implementation and its embedded test cases. We propose an adaptation of mutation analysis to the OO paradigm that checks the consistency between specification/implementation and tests. Faulty programs, called "mutants", are generated by systematic fault injection in the implementation. The quality of tests is related to the mutation score, i.e. the proportion of faulty programs it detects. The main contribution of this is to show how a similar idea can be used in the same context to address the problem of effective tests optimization. To map the genetic analogy to the test optimization problem, we consider mutant programs to be detected as the initial preys population and test cases as the predators population. The test selection consists of mutating the “predator” test cases and crossing them over in order to improve their ability to kill the prey population. The feasibility of components validation using such a “Darwinian” model and its usefulness for test optimization are studied.
منابع مشابه
Testing-for-Trust: The Genetic Selection Model Applied to Component Qualification
This paper presents a method and a tool for building trustable OO components. The methodology is based on an integrated design and test approach for OO software components. It is particularly adapted to a design-by-contract approach, where the specification is systematically derived into executable assertions (invariant properties, pre/postconditions of methods). This method, based on test qual...
متن کاملIdentification of factors influencing building initial trust in e-commerce
Nowadays, consumer trust is identified as one of the most important factors in electronic commerce (e-commerce) growth. This has led much research to investigate the role of trust in e-commerce and determine the factors which influence trust in this area. This paper explores factors which are engaged in building initial consumer trust in online shopping when a consumer wants to buy from a websi...
متن کاملTrustable Components: Yet Another Mutation-Based Approach
This paper presents the use of mutation analysis as the main qualification technique for: estimating and automatically enhancing a test set (using genetic algorithms), qualifying and improving a component’s contracts (that is the specification facet) measuring the impact of contractable robust components on global system robustness and reliability. The methodology is based on an integrated desi...
متن کاملEvaluation of E-Trust Building Structures Interact With Transportation
Transportation industry is the most dynamic components of any society. In the twenty-first century, with the growth of technology and the widespread use of the Internet and the emergence of e-commerce and e-business interaction and active transportation industry deserves to have a wide range of electronic services to the transportation community to take advantage of the investors of the new and...
متن کاملExploiting KeyNote in WebCom: Architecture Neutral Glue for Trust Management
A practical trust management system for the WebCom distributed computing architecture is described. KeyNote credentials are used to determine the authorisation of X509 authenticated SSL connections between peers. WebCom provides a metalanguage (glue) for bringing together the components of a distributed application in such a way that the components need not concern themselves with synchronisa-t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000